package com.fd.dx.web.domain;

/**
 * Created by lenovo on 2018/2/27.
 */
import java.io.Serializable;
import java.util.List;

/**
 * bootstrap table 服务器端分页
 * @param <T>
 */
public class Page<T> implements Serializable {

    private static final long serialVersionUID = 337297181251071639L;
    private Integer page;// 当前页
    private Integer limit;// 页大小
    private Integer total;// 总记录 数
    private List<T> rows;// 页面数据列表
    private String keyWord;// 查询关键字
    private T paramEntity;// 多条件查询
    private Integer offset;// 需要这里处理
    public Integer getPage() {
        return page;
    }
    public void setPage(Integer page) {
        this.page = page;
    }
    public Integer getLimit() {
        return limit;
    }
    public void setLimit(Integer limit) {
        this.limit = limit;
    }
    public Integer getTotal() {
        return total;
    }
    public void setTotal(Integer total) {
        this.total = total;
    }
    public List<T> getRows() {
        return rows;
    }
    public void setRows(List<T> rows) {
        this.rows = rows;
    }
    public String getKeyWord() {
        return keyWord;
    }
    public void setKeyWord(String keyWord) {
        this.keyWord = keyWord;
    }
    public Integer getOffset() {
        return offset;
    }
    public void setOffset(Integer offset) {
        this.offset = offset;
    }

}
